<template>
  <el-container>
    <!--侧边区域-->
    <el-aside width="auto">
      <CommonAside></CommonAside>
    </el-aside>
    <!--中间区域-->
    <el-container>
      <!--头部-->
      <el-header>
        <CommonHeader></CommonHeader>
      </el-header>
      <!--标签-->
      <CommonTag></CommonTag>
      <!--主体-->
      <el-main>
        <router-view></router-view>
      </el-main>
    </el-container>
  </el-container>
</template>

<script>
import CommonAside from "@/components/CommonAside";
import CommonHeader from "@/components/CommonHeader";
import CommonTag from "@/components/CommonTag";

export default {
  name: "Home",
  components: {
    CommonAside,CommonHeader,CommonTag
  },
}
</script>

<style scoped lang="less">
.el-container {
  height: 100%;
}
.el-header,.el-main{
  min-width: 1230px;
}

.el-header {
  background-color: rgba(51, 51, 51, 0.92);
}

.el-main {
  padding-top: 0;
}
</style>
